{% extends 'layout/manage.html' %}

{% block css %}
    <style>
        .col-sm-3 .list-group .choose {
            border-left: 4px solid #ffd900;
        }
    </style>
{% endblock %}
{% block content %}
    <div class="container clearfix" style="margin-top: 20px;">
        <div class="col-sm-3">
            <div class="panel panel-default">
                <div class="panel-heading" style="background-color:transparent;font-weight: bold;">
                    个人中心
                </div>
                <div class="list-group" style="border-radius: 0">
                    <div>
                        <a href="#" class="list-group-item">我的资料</a>
                        <a href="#" class="list-group-item">修改密码</a>
                        <a href="{% url 'delete_setting' request.obj.0.0 %}"
                           class="list-group-item choose">删除项目</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9">
            <div class="panel panel-default">
                <div class="panel-heading"><i class="fa fa-address-card-o" aria-hidden="true"></i> 我的资料</div>
                <div class="panel-body">
                    <form method="post">
                        {% csrf_token %}
                        <div class="form-group">
                            <label for="exampleInputEmail1">项目名称:</label>
                            <input type="text" class="form-control" id="exampleInputEmail1" placeholder="要删除的项目名称" name="project_name">
                            <span style="font-size: 12px;color: red">{{ project_name_error }}</span>
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">密码:</label>
                            <input type="password" class="form-control" id="exampleInputPassword1" placeholder="项目创建者的密码" name="creater_pwd">
                            <span style="font-size: 12px;color: red">{{ pwd }}</span>
                        </div>
                        <button type="submit" class="btn btn-default">提 交</button>
                    </form>
                </div>
            </div>

        </div>
    </div>
{% endblock %}